package com.jiuyou.storeController.coupons;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.coupons.service.ICouponsMemberService;
import com.ruoyi.coupons.service.ICouponsService;
import com.ruoyi.store.service.IStoreUserRoleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chengliang
 * @date 2021/11/24
 **/
@RestController
@RequestMapping
@Api(tags = {"优惠券领取控制器"})

public class CouponsMemberStoreController {
    private static final Logger log = LoggerFactory.getLogger(CouponsMemberStoreController.class);
    @Autowired
    private ICouponsService couponsService;
    @Autowired
    private ICouponsMemberService couponsMemberService;
    @Autowired
    private IStoreUserRoleService roleService;

    @PutMapping
    @ApiOperation("领取优惠券")
    public JSONObject receive(){
        return null;
    }
}
